package homework.qingming.calc.operations;

import java.math.BigDecimal;

public class SubOperation extends BaseOperation {

    public SubOperation() {
        super('-', 1);
    }

    @Override
    public BigDecimal operation(BigDecimal a, BigDecimal b) {
        return a.subtract(b);
    }
}
